﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="JBot.ConsoleControl"
	x:Name="UserControl"
	d:DesignWidth="640" d:DesignHeight="480">

	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="45"/>
			<RowDefinition Height="0.753*"/>
			<RowDefinition Height="25"/>
		</Grid.RowDefinitions>
      <RichTextBox x:Name="richTextBoxConsoleOutput" Grid.Row="1" Background="Black" Foreground="White" IsReadOnly="True" VerticalScrollBarVisibility="Auto">
        <RichTextBox.ContextMenu>
          <ContextMenu>
            <MenuItem Header="Wytnij" Command="Cut"/>
            <MenuItem Header="Kopiuj" Command="Copy"/>
            <MenuItem Header="Wklej" Command="Paste"/>
            <Separator/>
            <MenuItem Header="Zaznacz wszystko" Command="SelectAll"/>
          </ContextMenu>
        </RichTextBox.ContextMenu>
        <FlowDocument LineHeight="1.08">
          <Paragraph>[Program Info]: Inicjalized</Paragraph>
        </FlowDocument>
      </RichTextBox>
    <TextBox x:Name="textBoxConsoleInput" Grid.Row="2" TextWrapping="Wrap" Foreground="White" Background="Black">
      <TextBox.ContextMenu>
        <ContextMenu>
          <MenuItem Header="Wytnij" Command="Cut"/>
          <MenuItem Header="Kopiuj" Command="Copy"/>
          <MenuItem Header="Wklej" Command="Paste"/>
          <Separator/>
          <MenuItem Header="Zaznacz wszystko" Command="SelectAll"/>
        </ContextMenu>
      </TextBox.ContextMenu>
    </TextBox>
    <Label x:Name="labelTitle" HorizontalAlignment="Left" Margin="8,4,0,4" Content="Console" FontSize="17.333"/>
	</Grid>
</UserControl>